import { IContext, IParam } from '@/core';
import { PropType } from 'vue';
declare type requestModeType = 'get' | 'post' | 'delete' | 'put';
export const personnelSelectProps = {
	name: {
		type: String,
	},
	//树数据加载地址
	treeurl: {
		type: String,
	},
	url: {
		type: String,
		required: true,
	},
	multiple: {
		type: Boolean,
		default: false,
	},
	data: {
		type: Object as PropType<IParam>,
		default: () => {},
	},
	codelistTag: {
		type: String,
	},
	codelistType: {
		type: String,
	},
	filter: {
		type: String,
	},
	disabled: {
		type: Boolean,
	},
	value: {
		type: String,
	},
	context: {
		type: Object as PropType<IContext>,
	},
	valueItem: {
		type: String,
	},
	fillMap: {
		type: Object as PropType<any>,
	},
	requestMode: {
		type: String as PropType<requestModeType>,
		default: 'get',
	},
	noButton: {
		type: Boolean,
		default: false,
	},
};
